package com.zengjianjun.hive.demo.entity.py;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author zengjianjun
 */
@Data
@Builder
@TableName("user")
@AllArgsConstructor
@NoArgsConstructor
public class PyUser {

    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 用户名称
     */
    private String username;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
